package dao;

import bean.*;

import java.util.List;

/**
 * @author 李夏
 * @version 1.0
 */
public interface UserDao {
    public Student findByPasswordAndId(String stuPassword, int stuId);
    public Student isSignSuccess(Student student);
    public Student findById(Integer stuId);



    public Teacher teaFindByPasswordAndId(String teaPassword, int teaId);
    public Teacher teaIsSignSuccess(String teaPassword, int teaId, String teaName, int teaTel);
    public Teacher teaFindById(Integer teaId);


    public Hou houFindByPasswordAndId(String houPassword, int houId);
    public Hou houIsSignSuccess(Hou hou);
    public Hou houFindById(Integer houId);


    public Manager manFindByPasswordAndId(String manPassword, int manId);
    public Manager manIsSignSuccess(String manPassword, int manId, String manName, int manTel);
    public Manager manFindById(Integer manId);

    List<Student> findStuPage(Integer currentPage);





}
